#include "QReadqss.h"

QReadQSS::QReadQSS()
{

}

void QReadQSS::setStyle(const QString &style)
{
    QFile file(style);
    if(file.open(QFile::ReadOnly))
    {
        QString qss = file.readAll();
        qApp->setStyleSheet(qss);
        file.close();
    }
}
